﻿using System;

namespace Entities
{
    [Serializable] // rất háy

    public class PhieuThu
    {
        private int phieuthuid;
        private string hanhdong;
        private string maPhieuThu;
        private DateTime ngayLap;
        private string maDoiTuong;
        private string maKho;
        private string khoanMuc;
        private string doiTuong;
        private string tenDoiTuong;
        private string diaChi;
        private string maSoThue;
        private string nguoiNopTien;
        private string maTKNganHang;
        private string coTaiKhoan;
        private string noTaiKhoan;
        private string tongTienThanhToan;
        private string maNhanVien;
        private string ghiChu;
        private bool deleted;


        Entities.TaiKhoan taiKhoan;
        public Entities.TaiKhoan TaiKhoan
        {
            get { return this.taiKhoan; }
            set
            {
                this.taiKhoan = value;
            }
        }
        public PhieuThu()
        { }
        public PhieuThu(int phieuthuid, string hanhdong, string maPhieuThu, DateTime ngayLap, string maDoiTuong, string maKho, string khoanMuc, string doiTuong, string tenDoiTuong, string diaChi, string maSoThue, string nguoiNopTien, string maTKNganHang, string coTaiKhoan, string noTaiKhoan, string tongTienThanhToan, string maTienTe, string maNhanVien, string ghiChu, bool deleted, Entities.TaiKhoan taiKhoan)
        {
            this.taiKhoan = taiKhoan;
            this.phieuthuid = phieuthuid;
            this.hanhdong = hanhdong;
            this.maPhieuThu = maPhieuThu;
            this.ngayLap = ngayLap;
            this.maDoiTuong = maDoiTuong;
            this.maKho = maKho;
            this.khoanMuc = khoanMuc;
            this.doiTuong = doiTuong;
            this.tenDoiTuong = tenDoiTuong;
            this.diaChi = diaChi;
            this.maSoThue = maSoThue;
            this.nguoiNopTien = nguoiNopTien;
            this.maTKNganHang = maTKNganHang;
            this.coTaiKhoan = coTaiKhoan;
            this.noTaiKhoan = noTaiKhoan;
            this.tongTienThanhToan = tongTienThanhToan;
            this.maNhanVien = maNhanVien;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
        }
        public int PhieuThuID
        {
            get { return this.phieuthuid; }
            set
            {
                this.phieuthuid = value;
            }
        }
        public string HanhDong
        {
            get { return this.hanhdong; }
            set
            {
                this.hanhdong = value;
            }
        }
        public string MaPhieuThu
        {
            get { return this.maPhieuThu; }
            set
            {
                this.maPhieuThu = value;
            }
        }
        public DateTime NgayLap
        {
            get { return this.ngayLap; }
            set { this.ngayLap = value; }
        }
        public string MaDoiTuong
        {
            get { return this.maDoiTuong; }
            set { this.maDoiTuong = value; }
        }
        public string MaKho
        {
            get { return this.maKho; }
            set { this.maKho = value; }
        }
        public string KhoanMuc
        {
            get { return this.khoanMuc; }
            set { this.khoanMuc = value; }
        }
        public string DoiTuong
        {
            get { return this.doiTuong; }
            set { this.doiTuong = value; }
        }
        public string TenDoiTuong
        {
            get { return this.tenDoiTuong; }
            set { this.tenDoiTuong = value; }
        }
        public string DiaChi
        {
            get { return this.diaChi; }
            set { this.diaChi = value; }
        }
        public string MaSoThue
        {
            get { return this.maSoThue; }
            set { this.maSoThue = value; }
        }
        public string NguoiNopTien
        {
            get { return this.nguoiNopTien; }
            set { this.nguoiNopTien = value; }
        }
        public string MaTKNganHang
        {
            get { return this.maTKNganHang; }
            set { this.maTKNganHang = value; }
        }
        public string CoTaiKhoan
        {
            get { return this.coTaiKhoan; }
            set { this.coTaiKhoan = value; }
        }
        public string NoTaiKhoan
        {
            get { return this.noTaiKhoan; }
            set { this.noTaiKhoan = value; }
        }
        public string TongTienThanhToan
        {
            get { return this.tongTienThanhToan; }
            set { this.tongTienThanhToan = value; }
        }
        public string MaNhanVien
        {
            get { return this.maNhanVien; }
            set { this.maNhanVien = value; }
        }
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public bool Deleted
        {
            get { return this.deleted; }
            set { this.deleted = value; }
        }
     
    }
}